home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1582 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.lang.c
  2. Path: xvt.com!xvtslp1
  3. From: bruce@xvt.com (Bruce A. Yelen)
  4. Subject: Re: Can a Unix compiler be used for dos apps?
  5. Message-ID: <DL7G0u.EyH@xvt.com>
  6. Sender: news@xvt.com
  7. Organization: XVT Software, INC.
  8. X-Newsreader: News Xpress Version 1.0 Beta #4
  9. References: <rmhanson.81.30F9A6C2@students.wisc.edu>
  10. Date: Mon, 15 Jan 1996 04:20:34 GMT
  11.  
  12. In article <rmhanson.81.30F9A6C2@students.wisc.edu>,
  13.    rmhanson@students.wisc.edu (ryan m hanson) wrote:
  14. >I don't have a good dos compiler + I use a 286, but I do use my 
  15. >unix and emacs to do the coding. I used to use gcc on unix when I first 
  16. >started, but would rather create dos apps (my texts direct to it).
  17. >
  18. >the question is there anyway I can use my unix box to run a compiler that 
  19. >would create dos executables? Then just ftp the programs to my home.
  20. >
  21. >thanx
  22. >ryan
  23.  
  24. DOS executables have a different format than UNIX.  In theory, you could 
  25. compile and link code on Unix to run under DOS but you would need a compiler 
  26. specificaly for that purpose.  I don't know of any myself.
  27.  
  28. You might want to check some of the bookstores.  I have seen complete DOS 
  29. (usually older versions of some current commercial offerings) compilers 
  30. included as part of "C" instructional manuals priced at $50.00 or less.
  31.  
  32. Regards,
  33.  
  34. Bruce
  35.